<%@ tag pageEncoding="UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="primus" uri="http://com.primus/tag/core" %>
<%@ attribute name="fieldId" required="false" type="java.lang.Object" %>
<%@ attribute name="fieldName" required="false" type="java.lang.String" %>
<%@ attribute name="selectedField" required="false" type="java.lang.String" %>
<%@ attribute name="multi" required="false" type="java.lang.Boolean" %>
<%@ attribute name="selectedFields" required="false" type="java.util.List" %>
<select id="${fieldId}" name="${fieldName}" class="chosen-select form-control" data-placeholder="选择分类..." class="col-xs-10 col-sm-5"
        <c:if test="${not empty multi && multi}">multiple</c:if>>
    <primus:CouponTypeCategorySelectTag multiSelect="${multi}" selectedCategories="${selectedFields}" selectedCategory="${selectedField}" />
</select>